package com.jfireframework.sql.transfer.column.impl;

import java.sql.Clob;
import java.sql.ResultSet;
import java.sql.SQLException;

public class ClobOperator extends AbstractColumnTransfer
{
    
    @Override
    public void setEntityValue(Object entity, String dbColName, ResultSet resultSet) throws SQLException
    {
        Clob clob = resultSet.getClob(dbColName);
        String string = clob.getSubString(1, (int) clob.length());
        unsafe.putObject(entity, offset, string);
    }
    
    
}
